package userlogin.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import userlogin.Entity.UserId;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 小陈同学
 * @since 2023-06-25
 */
@Mapper
public interface UserIdMapper extends BaseMapper<UserId> {
    UserId getUserInfo(String openid);

    void insertUserInfo(String openid, String time);

    void updateLogin(String openid, String time);

    UserId findById(String openid);
}
